home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 38 / PC Gamer IT CD 38 1-2.iso / HG2DEMO / hg2demo.exe / data / Objects / hre10005.x < prev    next >
Text File  |  1998-05-21  |  6KB  |  277 lines

  1. xof 0302txt 0032
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template TextureFilename {
  43.  <A42790E1-7810-11cf-8F52-0040333594A3>
  44.  STRING filename;
  45. }
  46.  
  47. template Material {
  48.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  49.  ColorRGBA faceColor;
  50.  FLOAT power;
  51.  ColorRGB specularColor;
  52.  ColorRGB emissiveColor;
  53.  [...]
  54. }
  55.  
  56. template MeshFace {
  57.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  58.  DWORD nFaceVertexIndices;
  59.  array DWORD faceVertexIndices[nFaceVertexIndices];
  60. }
  61.  
  62. template MeshTextureCoords {
  63.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  64.  DWORD nTextureCoords;
  65.  array Coords2d textureCoords[nTextureCoords];
  66. }
  67.  
  68. template MeshMaterialList {
  69.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  70.  DWORD nMaterials;
  71.  DWORD nFaceIndexes;
  72.  array DWORD faceIndexes[nFaceIndexes];
  73.  [Material]
  74. }
  75.  
  76. template MeshNormals {
  77.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  78.  DWORD nNormals;
  79.  array Vector normals[nNormals];
  80.  DWORD nFaceNormals;
  81.  array MeshFace faceNormals[nFaceNormals];
  82. }
  83.  
  84. template Mesh {
  85.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  86.  DWORD nVertices;
  87.  array Vector vertices[nVertices];
  88.  DWORD nFaces;
  89.  array MeshFace faces[nFaces];
  90.  [...]
  91. }
  92.  
  93. template FrameTransformMatrix {
  94.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  95.  Matrix4x4 frameMatrix;
  96. }
  97.  
  98. template Frame {
  99.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  100.  [...]
  101. }
  102. template FloatKeys {
  103.  <10DD46A9-775B-11cf-8F52-0040333594A3>
  104.  DWORD nValues;
  105.  array FLOAT values[nValues];
  106. }
  107.  
  108. template TimedFloatKeys {
  109.  <F406B180-7B3B-11cf-8F52-0040333594A3>
  110.  DWORD time;
  111.  FloatKeys tfkeys;
  112. }
  113.  
  114. template AnimationKey {
  115.  <10DD46A8-775B-11cf-8F52-0040333594A3>
  116.  DWORD keyType;
  117.  DWORD nKeys;
  118.  array TimedFloatKeys keys[nKeys];
  119. }
  120.  
  121. template AnimationOptions {
  122.  <E2BF56C0-840F-11cf-8F52-0040333594A3>
  123.  DWORD openclosed;
  124.  DWORD positionquality;
  125. }
  126.  
  127. template Animation {
  128.  <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
  129.  [...]
  130. }
  131.  
  132. template AnimationSet {
  133.  <3D82AB50-62DA-11cf-AB39-0020AF71E433>
  134.  [Animation]
  135. }
  136.  
  137. Header {
  138.  1;
  139.  0;
  140.  1;
  141. }
  142.  
  143. Frame frm-direct2 {
  144.   FrameTransformMatrix {
  145. 1.000000,0.000000,0.000000,0.000000,
  146. 0.000000,1.000000,0.000000,0.000000,
  147. 0.000000,0.000000,1.000000,0.000000,
  148. 0.000000,0.000000,0.000000,1.000000;;
  149.  }
  150. Mesh direct2 {
  151.  25;
  152.  0.000000;0.000000;0.000000;,
  153.  0.170000;0.000000;0.000000;,
  154.  0.000000;-0.170000;0.000000;,
  155.  -0.170000;-0.000000;0.000000;,
  156.  0.000000;0.170000;0.000000;,
  157.  -0.205000;0.060000;-0.005000;,
  158.  -0.205000;-0.060000;-0.005000;,
  159.  -0.215000;0.060000;-0.005000;,
  160.  -0.215000;-0.060000;-0.005000;,
  161.  -0.335000;0.005000;0.000000;,
  162.  -0.180000;0.005000;0.000000;,
  163.  -0.335000;-0.005000;0.000000;,
  164.  -0.180000;-0.005000;0.000000;,
  165.  0.205000;-0.060000;-0.005000;,
  166.  0.205000;0.060000;-0.005000;,
  167.  0.215000;-0.060000;-0.005000;,
  168.  0.215000;0.060000;-0.005000;,
  169.  0.335000;-0.005000;0.000000;,
  170.  0.180000;-0.005000;0.000000;,
  171.  0.335000;0.005000;0.000000;,
  172.  0.180000;0.005000;0.000000;,
  173.  0.170000;0.170000;0.000000;,
  174.  0.170000;-0.170000;0.000000;,
  175.  -0.170000;0.170000;0.000000;,
  176.  -0.170000;-0.170000;0.000000;;
  177.  
  178.  8;
  179.  4;0,3,23,4;,
  180.  4;19,17,18,20;,
  181.  4;15,13,14,16;,
  182.  4;11,9,10,12;,
  183.  4;7,5,6,8;,
  184.  4;0,1,22,2;,
  185.  4;4,21,1,0;,
  186.  4;2,24,3,0;;
  187.  
  188.  MeshMaterialList {
  189.   1;
  190.   8;
  191.   0,
  192.   0,
  193.   0,
  194.   0,
  195.   0,
  196.   0,
  197.   0,
  198.   0;
  199. Material {
  200.  0.700000;0.700000;0.700000;1.000000;;
  201.  50.000000;
  202.  1.000000;1.000000;1.000000;;
  203.  0.0; 0.0; 0.0;;
  204.  TextureFilename {
  205.   "hhu1gn1c.ppm";
  206.  }
  207.  }
  208. }
  209.  MeshNormals {
  210.   25;
  211.   0.000000;-0.000000;-1.000000;,
  212.   0.000000;-0.000000;-1.000000;,
  213.   0.000000;-0.000000;-1.000000;,
  214.   0.000000;-0.000000;-1.000000;,
  215.   0.000000;-0.000000;-1.000000;,
  216.   0.000000;0.000000;-1.000000;,
  217.   0.000000;0.000000;-1.000000;,
  218.   0.000000;0.000000;-1.000000;,
  219.   0.000000;0.000000;-1.000000;,
  220.   0.000000;0.000000;-1.000000;,
  221.   0.000000;0.000000;-1.000000;,
  222.   0.000000;0.000000;-1.000000;,
  223.   0.000000;0.000000;-1.000000;,
  224.   0.000000;0.000000;-1.000000;,
  225.   0.000000;0.000000;-1.000000;,
  226.   0.000000;0.000000;-1.000000;,
  227.   0.000000;0.000000;-1.000000;,
  228.   0.000000;0.000000;-1.000000;,
  229.   0.000000;0.000000;-1.000000;,
  230.   0.000000;0.000000;-1.000000;,
  231.   0.000000;0.000000;-1.000000;,
  232.   0.000000;-0.000000;-1.000000;,
  233.   0.000000;-0.000000;-1.000000;,
  234.   0.000000;-0.000000;-1.000000;,
  235.   0.000000;-0.000000;-1.000000;;
  236.  
  237.   8;
  238.   4;0,3,23,4;,
  239.   4;19,17,18,20;,
  240.   4;15,13,14,16;,
  241.   4;11,9,10,12;,
  242.   4;7,5,6,8;,
  243.   4;0,1,22,2;,
  244.   4;4,21,1,0;,
  245.   4;2,24,3,0;;
  246.  }
  247.  MeshTextureCoords { 
  248.  25;
  249.  0.019531;0.183594;,
  250.  0.019531;0.339844;,
  251.  0.175781;0.183594;,
  252.  0.019531;0.339844;,
  253.  0.175781;0.183594;,
  254.  0.062766;0.651128;,
  255.  0.068736;0.650773;,
  256.  0.062410;0.670250;,
  257.  0.068736;0.670250;,
  258.  0.062766;0.651128;,
  259.  0.068736;0.650773;,
  260.  0.062410;0.670250;,
  261.  0.068736;0.670250;,
  262.  0.062766;0.651128;,
  263.  0.068736;0.650773;,
  264.  0.062410;0.670250;,
  265.  0.068736;0.670250;,
  266.  0.062766;0.651128;,
  267.  0.068736;0.650773;,
  268.  0.062410;0.670250;,
  269.  0.068736;0.670250;,
  270.  0.175781;0.339844;,
  271.  0.175781;0.339844;,
  272.  0.175781;0.339844;,
  273.  0.175781;0.339844;;
  274.  }
  275. }
  276. }
  277.